package com.b2b2000.jira.plugin.projectpanel.fragments;

import com.atlassian.jira.config.properties.ApplicationProperties;
import com.atlassian.jira.issue.search.SearchProvider;
import com.atlassian.jira.security.JiraAuthenticationContext;
import com.atlassian.velocity.VelocityManager;

/**
 * @author jaime HTML {@link #Abstracfragment} to be displayed in a
 *         {@link #FragmentBasedProjectPanel}, that lists a definible amount of
 *         issues (property {@link #MAX_ISSUES_LIMIT}) of the type passed
 *         {@link #listedIssueType}.
 *
 */
public class ProjectListIncGenFragmentImpl extends ProjectListIssuesFragmentImpl {
	private static final String ISSUE_TYPE_INCGEN = new String("incidencia-general");

	public ProjectListIncGenFragmentImpl(VelocityManager velocityManager, ApplicationProperties applicationProperties,
			JiraAuthenticationContext jiraAuthenticationContext, SearchProvider searchProvider) {
		super(velocityManager, applicationProperties, jiraAuthenticationContext, searchProvider);
		this.setListedIssueType(ISSUE_TYPE_INCGEN);
	}

	@Override
	public String getId() {
		return "project-list-incgen";
	}
}
